﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using RuleCode.Table;

namespace map.manage
{
    public partial class configshop_inner1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            AjaxPro.Utility.RegisterTypeForAjax(typeof(AjaxFunction));
            string cbshoppageid = "0";
            if (this.Request.Params["cbshoppageid"] != null)
            {
                cbshoppageid = this.Request.Params["cbshoppageid"].ToString();
            }
            //else
            //{
            //    Response.End();
            //}
            cbshoppage sp = cbshoppage.Find(" cbshoppageid = '"
                                            + cbshop.transhoppageid(cbshoppageid)
                +"' and cbuserid = '"+AliApi.appUserId+"'");
            string back = "<script type =\"text/javascript\" >setbackpic('url("
                    + sp.backpicpath.ToString()+ ")');setbackcolor('" + sp.backcolour.ToString() 
                    + "');</script>";
            ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(),
                "zback", back, false);
        }
    }
}
